<template>
  <div class="flex-1 py-4">
    <FormRender :schema="schema" @submit="handleSubmit" @validate="handleValidate" />
  </div>
</template>
<script lang="ts" setup>
import FormRender from '@/form-render/index.vue'
import schema from '@/schema/sin'

const handleSubmit = (data: any) => {
  console.log(data)
}

const handleValidate = (valid: boolean) => {
  console.log(valid)
}
</script>
<style lang="scss" scoped></style>
